import 'package:library_base/entities/generated/json/base/json_field.dart';
import 'package:library_base/entities/generated/json/summary_child_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class SummaryChildEntity {
  late String orderId;
  late String consignee;
  late int goodsCount;
  late String stationTime;
  late String address;

  double? standardWeight;

  bool isSelect = false;

  bool isExpand = false;

  String? goodsCode;
  String? shipperId;

  SummaryChildEntity();

  factory SummaryChildEntity.fromJson(Map<String, dynamic> json) =>
      $SummaryChildEntityFromJson(json);

  Map<String, dynamic> toJson() => $SummaryChildEntityToJson(this);

  @override
  String toString() => json.encode(this);
}
